package com.cmc6.pay.config;

import com.alipay.api.AlipayConfig;
import com.cmc6.common.constant.BaseConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@EqualsAndHashCode(callSuper = true)
@Data
@Component
@ConfigurationProperties(prefix = BaseConstant.ALI_PAY)
public class AliPayProperties extends AlipayConfig {

    @ApiModelProperty(value = "服务器异步通知页面路径  需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问")
    private String notifyUrl;

    @ApiModelProperty(value = "页面跳转同步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问")
    private String returnUrl;

}
